<!DOCTYPE html>
<html lang="zh"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>财务-提成发放-订单列表</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link rel="stylesheet" href="/js/bootstrap-table/bootstrap-table-1.18.3.min.css">
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/css/skin.css"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/finance/payment-record.css">
</head>
<body>
<div>
    <input type="hidden" id="dateStatusType" value="1">
    <div class="container-fluid p-t-15">
        <div class="row">
            <div class="col-sm-12">
                <div class="card">
                    <div class="card-header">
                        <h1>可发放提成订单列表</h1>
                    </div>
                    <div class="card-body">
                        <div class="row content-action">
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                <!-- 全部 本周 本月 本年 -->
                                <div class="time-search pull-left">
                                    <input type="hidden" id="dateType" name="dateType"/>
                                    <div class="all active-second" onclick="selectTime('all')">全部</div>
                                    <div class="week"  onclick="selectTime('week')">本周</div>
                                    <div class="month" onclick="selectTime('month')">本月</div>
                                    <div class="year" onclick="selectTime('year')">本年</div>
                                </div>
                            </div>
                            <div class="col-lg-6 col-md-5 col-sm-5 col-xs-12">
                                <div class="pull-right">
                                    <div class="min-search pull-left">
                                        <input class="form-control" type="text" placeholder="请输入创建人名称"
                                               id="userNamep" name="userNamep">
                                        <button class="btn btn-primary" type="button" onclick="searchOrderList(1)">
                                            <i class="mdi mdi-magnify"></i><span>搜索</span>
                                        </button>
                                    </div>
                                    <button class="btn btn-default btn-senior" data-toggle="collapse"
                                            data-target="#filterContentNew" aria-expanded="false"
                                            aria-controls="filterContentNew">
                                        <i class="mdi mdi-sort-variant"></i>高级筛选
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="collapse filter-content" id="filterContentNew">
                            <div class="row">
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="orderNumber">订单编号</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入订单编号"
                                               id="orderNumber" name="orderNumber">
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="orderType">订单类型</label>
                                    <div>
                                        <select id="orderType" class="form-control" type="text">
                                            <option selected value="">全部</option>
                                            <option value="0">非会员订单</option>
                                            <option value="1">会员订单</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="orderPaymentWay">支付方式</label>
                                    <div>
                                        <select id="orderPaymentWay" class="form-control" type="text">
                                            <option selected value="">全部</option>
                                            <option value="1">线上支付</option>
                                            <option value="2">线下支付</option>
                                            <option value="3">余额支付</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label" for="orderDiscountTotalAmountStart">订单优惠总金额</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="orderDiscountTotalAmountStart" class="form-control"
                                               placeholder="起" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                        <span class="input-group-addon">-</span>
                                        <input type="text" id="orderDiscountTotalAmountEnd" class="form-control"
                                               placeholder="止" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label" for="orderActualTotalAmountStart">订单实际总金额</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="orderActualTotalAmountStart" class="form-control"
                                               placeholder="起" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                        <span class="input-group-addon">-</span>
                                        <input type="text" id="orderActualTotalAmountEnd" class="form-control"
                                               placeholder="止" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label" for="orderTotalAmountStart">订单总金额</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="orderTotalAmountStart" class="form-control"
                                               placeholder="起" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                        <span class="input-group-addon">-</span>
                                        <input type="text" id="orderTotalAmountEnd" class="form-control"
                                               placeholder="止" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                    </div>
                                </div>
                                <!--<div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="bindMobilePhoneNumber">客户联系方式</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入客户联系方式"
                                               id="bindMobilePhoneNumber" name="bindMobilePhoneNumber">
                                    </div>
                                </div>-->
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="whetherCoDevelopment">是否合作开发</label>
                                    <div>
                                        <select name="whetherCoDevelopment" id="whetherCoDevelopment" class="form-control">
                                            <option value="">全部</option>
                                            <option value="1">是</option>
                                            <option value="2">否</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="whetherSuspend">是否挂起</label>
                                    <div>
                                        <select name="whetherSuspend" id="whetherSuspend" class="form-control">
                                            <option value="">全部</option>
                                            <option value="1">是</option>
                                            <option value="2">否</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="contractNumber">合同编号</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入合同编号"
                                               id="contractNumber" name="contractNumber">
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label" for="orderCompleteTmStart">订单完成时间</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="orderCompleteTmStart" class="form-control search-time date-input"
                                               placeholder="起">
                                        <span class="input-group-addon">-</span>
                                        <input type="text" id="orderCompleteTmEnd" class="form-control search-time date-input"
                                               placeholder="止">
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="companyName">所属分公司</label>
                                    <div>
                                        <!--<input class="form-control" type="text" placeholder="请输入所属分公司"
                                               id="companyName" name="companyName">-->
                                        <select id="companyName" name="companyName" class="form-control" data-live-search="true">
                                            <option value="1">请选择</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label for="userName">创建人</label>
                                    <div>
                                        <!--                                        <input class="form-control" type="text" placeholder="请输入创建人" id="userName" name="userName">-->
                                        <select id="userName" name="userName" class="form-control" data-live-search="true">
                                            <option value="1">请选择</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label" for="createTmStart">创建时间</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="createTmStart" class="form-control search-time date-input"
                                               placeholder="起">
                                        <span class="input-group-addon">-</span>
                                        <input type="text" id="createTmEnd" class="form-control search-time date-input"
                                               placeholder="止">
                                    </div>
                                </div>
                                <!--<div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="customerName">客户名称</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入客户名称"
                                               id="customerName" name="customerName">
                                    </div>
                                </div>-->
                                <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12 btn-box">
                                    <label class="control-label">&nbsp;</label>
                                    <div class="text-right">
                                        <button class="btn btn-link" onclick="clearAllData()">重置</button>
                                        <button class="btn btn-primary" type="button" onclick="searchOrderList(2)">
                                            <i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <table id="orderTableList"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min-1.18.3.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script type="text/javascript" src="/js/crm/common/common.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns-1.18.3.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>

<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/finance/royaltyOrderForm.js"></script>

</html>